package com.zhangyj.impl.component.grid.render;

import java.io.IOException;
import java.io.Writer;

import com.zhangyj.component.grid.HTMLTable;
import com.zhangyj.component.grid.render.ICellRender;

public class HyperLinkCellRender implements ICellRender {
	
	public void writer(HTMLTable table, Writer writer, Object value, boolean isSelected, boolean hasFocus, int column) throws IOException {
		writer.append("<td style=\"text-align:center\">");
		writer.append(value.toString());
		writer.append("</td>");
	}
}
